<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="common.jsp"%>
<%
	String vac01 = (String) request.getParameter("vac01");
	request.setAttribute("vac01", vac01);
%>
<!DOCTYPE html>
<input id="jysj" type="hidden" value='' />
<input id="jy_jdsj" type="hidden" value='' />
<input id="jc_sj" type="hidden" value='' />
<html>
<head>
<meta charset="UTF-8">
<title>云健康--门诊医生系统</title>
<link rel="stylesheet" type="text/css" href="${ctx}/css.base/please_shuaka.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/one/css/outpatient.css?t=20171228" />
<link rel="stylesheet" type="text/css" href="${ctx}/lib/ztree/zTreeStyle/zTreeStyle.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/one/component/dropbox/jquery-drop-box.css?t=201711029">
</head>
<body>
	<input id="vac01" type="hidden" value="<%=request.getParameter("vac01")%>" />
	<input id="date1_p" type="hidden"  />
	<div id="mid_container">
		<!--头部结束-->
		<div id="menuTree">
			<div class="menucontainer">
				<a href="javascript:;" id="doc_directionBtn">
					<img src="${ctx}/theme/img/fangxiang.png" alt="" />
				</a>
				<p>
					<select id="departmentList"></select>
				</p>
				<div class="row" id="index_input_btn">
					<div class="col-md-12 search-group">
						<div class="input-group">
							<input type="text" class="form-input " id="houzheSearchStr"  placeholder="请输入名称、卡号、门诊号"/ >
							<div class="input-group-btn" id="sousuoHouzhenBtn">
								<button class="btn  btn-min btn-grey">
									<span class="glyphicon glyphicon-search"></span>
								</button>
							</div>
						</div>
					</div>
					<div class="col-md-3 hidden indexsk" style="padding-left: 0px;">
						<button class="btn btn-main btn-block " onclick="indexMemberCard();" name = "indexsk">
							<span class="glyphicon glyphicon-picture"></span>
							刷卡
						</button>
					</div>
					<div class="col-md-3 hidden indexsfz" style="padding-left: 0px;">
						<button class="btn btn-main btn-block " onclick="indexIdentityCard();" name = "indexsfz">
							身份证
						</button>
					</div>
				</div>
				<!-- <div class="form-inline" style="margin-top: 5px;" id="clinic_perate"> -->
				<div class="main-content-optionBtn" id="clinic_perate">
					<div class="main-content-btnGroup" style= "padding: 5px 0px;">
					    <div class="row">
							<div class="col-md-5" style="padding-right: 0px">
								<button class="btn btn-grey btn-block" onclick="guahao(this)" name="jygh">
									<span class="glyphicon glyphicon-check"></span>
									<span> 挂号</span>
								</button>
							</div>
							<div class="col-md-5" style="padding: 0px 3px;">
								<button id="hujiao" class="btn btn-yellow btn-block" onclick="hujiao_houtai()" >
									<span class="glyphicon glyphicon-volume-up"></span>
									<span> 呼叫</span>
								</button>
							</div>
							<div class="col-md-2" style="padding-left: 0px">
								<button id="down_more" class="btn btn-grey btn-min btn-block dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
									<span class="caret"></span>
								</button>
								<ul class="dropdown-menu dropdown-menu-right">
									<li onclick="zaicihujiao()">
										<a href="#">再次呼叫</a>
									</li>
									<li role="separator" class="divider anthority_list" name="indexwz"></li>
									<li onclick="wanzhen()" name="indexwz" class="anthority_list">
										<a href="#">完成接诊</a>
									</li>
									<li role="separator" class="divider"></li>
									<li onclick="hujiao_houtai()">
										<a href="#">接诊</a>
									</li>
									<li role="separator" class="divider"></li>
									<li onclick="zhuanzhen()">
										<a href="#">院内转诊</a>
									</li>
									<li role="separator" class="divider"></li>
									<li onclick="quxiaojiezhen()" >
										<a href="#">取消接诊</a>
									</li>
									<li role="separator" class="divider anthority_list" name="indexwz" ></li>
									<li onclick="quxiaowanzhen()" class="wanzhen_li anthority_list" name="indexwz">
										<a href="#">取消完诊</a>
									</li>
									<li role="separator" class="divider anthority_list" name="selefgh" ></li>
									<li onclick="guahao(this)" class="anthority_list" name="selefgh">
										<a href="#">挂号</a>
									</li>
									<li role="separator" class="divider anthority_list" name="selefjz" ></li>
									<li onclick="onlyJieZhen();" class="anthority_list" name="selefjz">
										<a href="#">再次接诊</a>
									</li>
								</ul>
							</div>
						</div>
						
					</div>
				</div>
				
				<input type="hidden" id="vaa04" />
				<input type="hidden" id="vaa01" />
				<input type="hidden" id="bck01" />
				<!-- </div> -->
				<div class="sub_container">
					<div class="sub_content">
						<div class="initial_content flag_content">
							
							<div class="main-header-nav">
								<ul class="nav nav-underline" role="tablist">
									<li class="isexpandAll houzhen_flag">
									   <a type="button"  class="btn btn-transparent btn-min" style="padding: 10px 4px 4px 4px;;">
											<span class="glyphicon glyphicon-chevron-up"></span>
										</a>
									</li>
									<li class="active">
										<a href="#houzhen1" data-toggle="tab"> 候诊病人</a>
									</li>
									<li style="float: right; position: relative; top: 5px;">
										<div class="btn-group">
											<button type="button" id="reflush_patient_wait" class="btn btn-main btn-min" onclick="reflushPatientWait()">
												<span>刷新</span>
											</button>
											<button class="btn btn-main btn-min dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
												<span class="caret"></span>
											</button>
											<ul class="dropdown-menu">
												<li onclick="reflushPatientWait(0)">
													<a href="#">今天</a>
												</li >
												<li role="separator" class="divider"></li>
												<li onclick="reflushPatientWait(1)">
													<a href="#">昨天</a>
												</li>
												<li role="separator" class="divider"></li>
												<li onclick="reflushPatientWait(2)">
													<a href="#">前天</a>
												</li>
											</ul>
										</div>
										
									</li>
								</ul>
							</div>
							<div class="tab-content out_content">
								<!--候诊病人-->
								<div class="tab-pane active" id="houzhen1">
									<div class="main-content-table" style="top: 45px; bottom: 0;">
										<div class="main-table-container">
											<table id="patient_wait" class="table-change table table-hover table-border table-striped">
											</table>
										</div>
									</div>
								</div>
							</div>
							
						</div>
						<div class="initial_content flag_content">
							<div class="main-header-nav">
								<ul class="nav nav-underline" role="tablist" id="all_patient">
									<li class="isexpandAll jiezhen_flag">
									   <a type="button"  class="btn btn-transparent btn-min" style="padding: 10px 4px 4px 4px;;">
											<span class="glyphicon glyphicon-chevron-down"></span>
										</a>
									</li>
									<li class="active" id="myPatientTab">
										<a href="#mypatinent1" data-toggle="tab" style="padding: 8px 10px;"></span> 我的病人</a>
									</li>
									<li onclick="benkeJiezhenPatientList();">
										<a href="#benkepatient1" data-toggle="tab" style="padding: 8px 10px;">本科病人</a>
									</li>
									<li onclick="loadWabZhenPatient();">
										<a href="#wanzhenpatient1" data-toggle="tab" style="padding: 8px 10px;">完诊</a>
									</li>
								</ul>
							</div>
							<div class="tab-content out_content">
								<div class="tab-pane active" id="mypatinent1">
									<div class="main-content-table" style="top: 45px; bottom: 0;">
										<div class="main-table-container">
											<table class="table-change table table-hover table-border table-striped" id="myjiezhenTableList">
											</table>
										</div>
									</div>
								</div>
								<div class="tab-pane" id="benkepatient1">
									<div class="main-content-table" style="top: 45px; bottom: 0;">
										<div class="main-table-container">
											<table class="table-change table table-hover table-border table-striped" id="jiezhenBenkeTable">
											</table>
										</div>
									</div>
								</div>
								<div class="tab-pane" id="wanzhenpatient1">
									<div class="main-content-table" style="top: 45px; bottom: 0;">
										<div class="main-table-container">
											<table class="table-change table table-hover table-border table-striped" id="wanzhenBenkeTable">
											</table>
										</div>
									</div>
								</div>
							</div>
							
						</div>
					</div>
				</div>
				<div class="timeIput">
					<div class="row">
						<div class="col-md-9">
							<div class="form-inline" style="margin: 5px 0;">
								<span>开始</span>
								<input type="text" id="dl1" class="layer-date laydate-icon" value="" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})">
							</div>
							<div class="form-inline">
								<span>结束</span>
								<input type="text" id="dl2" class="layer-date laydate-icon" value="" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})">
							</div>
						</div>
						<div class="col-md-3">
							<div class="pull-right refush" style="top: 20px; right: 5px;">
								<button class="btn btn-main btn-min" id="search_patinet" onclick="refreshListJiezhen()">
									<span class="glyphicon glyphicon-search"></span>
									<span>查询</span>
								</button>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div id="content">
			<div style="position: relative; width: 100%; height: 100%;">
				<div class="three-column">
					<div class="main-header">
						<div class="main-header-content">
							<div class="header-content-left" style="right: 390px;"></div>
							<div class="header-content-right" style="line-height: 31px;width:390px;">
								<button class="btn btn-main btn-min noborder hidden"  onclick="checkDetailInfo()" id="check_detail_info">
									<span>检查详情</span>
								</button>
								<div class="btn-group" onclick="seeMoreInfoEvent();">
									<a class="btn btn-transparent ">
										<span class="more-info-text">更多</span>
										<span class="caret"></span>
									</a>
								</div>
								<!-- <button class="btn btn-main" id="shouye_btn" name='blry'>
									诊断信息
								</button> -->
								<div class="btn-group" id="function_btn_1" >
									<button id="patientInfo1" class="btn btn-main" onclick="deitPatinetInfo();"  name='brxx_mz'>
										<span>病人信息</span>
									</button>
									<button id="shouye_btn_down" class="btn btn-main dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"   name='brxx_mz'>
										<span class="caret"></span>
									</button>
									<ul class="dropdown-menu dropdown-menu-right">
									   <li  id="shouye_btn"><a href="#">诊断信息</a></li>
									</ul>
								</div>
								<div class="btn-group">
									<button class="btn btn-yellow" id="handle_admission" name='blry'>
										<span>办理入院</span>
									</button>
									<button class="btn btn-yellow dropdown-toggle" data-toggle="dropdown" 
									aria-haspopup="true" aria-expanded="false" name='brxxdy'  onclick="inhospitalPrintType();">
										<span class="caret"></span>
									</button>
									<ul class="dropdown-menu dropdown-menu-right">
										<div style="width: 240px; min-width: 200px; padding: 0px 10px; font-size: 14px;" onclick="chosePrintType();">
											<label class="label-normal printbtn">打印入院通知单</label>
											<div class="form-group formatbtn" >
                                                <select id="inhospital_print_type">
												</select>
                                                <a href="JavaScript:void(0)" class="dropdown-menu-panel-btn" onclick="inhospitalPrint()">打印</a>
                                                <a href="JavaScript:void(0)" class="dropdown-menu-panel-btn" onclick="inhospitalPrintView()">预览</a>
                                             </div>
										</div>
									</ul>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="main-content">
					<div class="main-header-nav" id="patient_info">
						<ul class="nav nav-underline" role="tablist">
							<li class="active">
								<a href="#advice1" data-toggle="tab">医嘱记录</a>
							</li>
							<li onclick ="loadEmrItem();">
								<a href="#Emr1" data-toggle="tab">病历记录</a>
							</li>
							<li onclick="jianYanList();">
								<a href="#Jianyan1" data-toggle="tab">检验报告</a>
							</li>
							<li onclick="jianChaJqGride();">
								<a href="#Jiancha1" data-toggle="tab">检查报告</a>
							</li>
							<li onclick="refreashCritical();">
								<a href="#weijizhi1" data-toggle="tab">当前病人危急值提醒</a>
							</li>
							<li onclick="refreashBeforeAdvice();">
								<a href="#liciyizhu1" data-toggle="tab">历次就诊医嘱记录</a>
							</li>
							<li class="new_similar" style="top:5px;left: 10px;">
								<button type="button" class="btn btn-main" id="emr_exe" name="extemr"  onclick = "emrExeReport();">
									电子病历
								</button>
								<button type="button" class="btn btn-main" id="pacs_exe" name="extpacs"  onclick = "pacsExeReport();">
									高视PACS
								</button>
								<button class="btn btn-main" id="pasc_exe" name="extris_repor" onclick = "pascReport();">
									调用RIS报告
								</button>
								<!-- <button class="btn btn-main" id="pasc_exe" name="extris_repor" onclick = "printByNiechenqi7();">
									打印
								</button>
								<button class="btn btn-main" id="pasc_exe" name="extris_repor" onclick = "printByNiechenqi8();">
									预览
								</button>
								<button class="btn btn-main" id="pasc_exe" name="extris_repor" onclick = "printByNiechenqi9();">
									设计
								</button> -->
								<!-- <button class="btn btn-main" id="pasc_exe" name="extris_repor" onclick = "getDataToTable();">
									打印测试22
								</button> -->
							</li>
							
						</ul>
						
					</div>
					<div class="tab-content tab_container">
						<!--医嘱记录-->
						<div class="tab-pane active" id="advice1">
							<div class="yizhu_content_table" style="width: 100%; position: relative;">
								<div class="main-content-optionBtn">
									<form class="form-inline pull-left">
										<div class="form-group">
											<select class="form-control" onchange="changeAdcive()" id="bdaSearch">
												<option id="">全部医嘱</option>
												<option id="bda011">西、成药</option>
												<option id="bda018">中草药</option>
												<option id="bda01L">检验</option>
												<option id="bda01E">检查</option>
												<option id="bda01S">手术</option>
												<option id="bda01O">其它</option>
											</select>
										</div>
										<div class="checkbox-group">
											</select>
											<label class="checkbox-inline">
												<input type="checkbox" checked="checked" id="vaf10_1" value="">
												新开
											</label>
											<label class="checkbox-inline">
												<input type="checkbox" checked="checked" id="vaf10_8" value="">
												发送
											</label>
											<label class="checkbox-inline">
												<input type="checkbox" checked="checked" id="vaf10_4" value="">
												作废
											</label>
										</div>
									</form>
									<div class="main-content-btnGroup pull-right">
										<button class="btn btn-main" id="newpage" name="xk">
											<span class="glyphicon glyphicon-plus"></span>
											新开
										</button>
										<button class="btn btn-main" onclick="editAdivce(this)" id="bj" name="bj">
											<span class="glyphicon glyphicon-pencil"></span>
											编辑
										</button>
										<button class="btn btn-main" onclick="deleteAdivce()" id="sc" name="sc">
											<span class="glyphicon glyphicon-trash"></span>
											删除
										</button>
										<button class="btn btn-main" onclick="vby1()" id="zf" name="zf">
											<span class="glyphicon glyphicon-alert"></span>
											作废
										</button>
										<button class="btn btn-yellow" onclick="sendAdvice()" id="fasong" name="fasong">
											<span class="glyphicon glyphicon-log-in"></span>
											发送
										</button>
										<div class="btn-group">
											<!-- <button class="btn btn-blue print_btn" onclick="print();" name="dyyzd">
												<span class="glyphicon glyphicon-print"></span>
												<span>打印医嘱单</span>
											</button> -->
											<button class="btn btn-blue print_btn" onclick="printMultipleAdvice();" name="dyyzd">
												<span class="glyphicon glyphicon-print"></span>
												<span>打印</span>
											</button>
											<button class="btn btn-blue print_btn dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" onclick='printCheckedEvent();' name="dyyzd">
												<span class="caret"></span>
											</button>
											<ul class="dropdown-menu dropdown-menu-right">
												<li onclick='print1();'>
													<a href="#">处方打印预览</a>
												</li>
												<li class="print_type" onclick="chosePrintType();">
													<select id="advice_print">
													</select>
												</li>
												<li role="separator" class="divider iswest"></li>
												<li onclick='print11();' class="iswest">
													<a href="#">输液打印预览</a>
												</li>
												<li class="print_type iswest" onclick="chosePrintType();">
													<select id="advice_print_shuye">
													</select>
												</li>
												<li role="separator" class="divider iswest"></li>
												<li onclick='print111();' class="iswest">
													<a href="#">皮试打印预览</a>
												</li>
												<li class="print_type iswest" onclick="chosePrintType();">
													<select id="advice_print_pishi">
													</select>
												</li>
											</ul>
											<!-- <ul class="dropdown-menu dropdown-menu-right" id="advice_print">
								</ul> -->
										</div>
										<div class="btn-group">
											<!-- <button class="btn btn-blue print_btn" onclick="print();" name="dyyzd">
												<span class="glyphicon glyphicon-print"></span>
												<span>打印医嘱单</span>
											</button> -->
											<button class="btn btn-blue print_btn" onclick="printCombin();" name="dyyzd">
												<span class="glyphicon glyphicon-print"></span>
												<span>合并</span>
											</button>
											<button class="btn btn-blue print_btn dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" onclick='printConbinChecked();' name="dyyzd">
												<span class="caret"></span>
											</button>
											<ul class="dropdown-menu dropdown-menu-right" id="combin_print_ul">
												<li class="print_to_view">
													<a href="#">处方打印预览</a>
												</li>
												<li class="print_type" onclick="chosePrintType();">
													<select id="advice_print_c">
													</select>
												</li>
												
											</ul>
											<!-- <ul class="dropdown-menu dropdown-menu-right" id="advice_print">
								</ul> -->
										</div>
									</div>
								</div>
								<div class="main-content-table" id="table_list" style="overflow-x: auto; bottom: 0;">
									<div class="main-table-container" id="advice_table">
										<!-- <table id="table_list" class="table-responsive table table-hover table-striped table-border">
		
								</table> -->
									</div>
								</div>
								<!-- <div class="main-content-page" style="height: 0px">
									<div class="page-content" id="page"></div>
								</div> -->
							</div>
							<div class="yizhucontainer patient_operation" id="patient_operation">
								<div class="main-header-nav">
									<ul class="nav nav-underline" role="tablist">
										<li class="active">
											<a href="#jizhu_jijia" data-toggle="tab">医嘱计价内容</a>
										</li>
										<li>
											<a href="#jizhu_fasong" data-toggle="tab">医嘱发送记录</a>
										</li>
										<li>
											<a href="#shoushu_renyuan" data-toggle="tab">手术人员安排</a>
										</li>
										<li>
											<a href="#chufang_zhenduan" data-toggle="tab">处方诊断</a>
										</li>
										<li>
											<a href="#chufang_xingzhi" data-toggle="tab">处方性质</a>
										</li>
										<li>
											<a href="#zhenjin_bianji" data-toggle="tab">诊金项目</a>
										</li>
										<li class="moreCont">
											<div class="btn-group" onclick="yizhuOtherInfo(this);">
												<a class="btn btn-transparent ">
													<span class="more-info-text">展开</span>
													<span class="caret caret-top"></span>
												</a>
											</div>
										</li>
									</ul>
								</div>
								<div class="tab-content yizhujilu_content" id="yizhujilu_content">
									<!--医嘱计价内容-->
									<div class="tab-pane active" id="jizhu_jijia">
										<div class="main-content-table">
											<div class="main-table-container" id="jijia_jq_container">
												<table id="yizhujijiaContent" class="table-change table-responsive table table-hover table-striped table-border"></table>
											</div>
										</div>
									</div>
									<!-- 医嘱发送记录 -->
									<div class="tab-pane" id="jizhu_fasong">
										<div class="main-content-table">
											<div class="main-table-container">
												<table class="table-responsive table table-hover table-striped table-border">
													<thead>
														<tr>
															<td>结账状态</td>
															<td>发送时间</td>
															<td>收费项目</td>
															<!-- <td>发送次数</td> -->
															<td>执行科室</td>
															<td>发送人</td>
															<td>执行状态</td>
															<td>单据号</td>
															<td>条形码</td>
														</tr>
													</thead>
													<tbody id="vaf1Fasongjilu_table"></tbody>
												</table>
											</div>
										</div>
									</div>
									<div class="tab-pane" id="shoushu_renyuan">
										<div class="main-content-table">
											<div class="main-table-container">
												<table class="table-responsive table table-hover table-striped table-border" id="shoushurenyuananpai_table">
													<thead>
														<tr>
															<td>岗位</td>
															<td>编号</td>
															<td>姓名</td>
														</tr>
													</thead>
												</table>
											</div>
										</div>
									</div>
									<div class="tab-pane" id="chufang_zhenduan">
										<div class="main-content-table">
											<div class="main-table-container">
												<table class="table-responsive table table-hover table-striped table-border">
													<thead>
														<tr>
															<td>诊断顺序</td>
															<td>诊断描述</td>
															<td>疑诊</td>
															<td>医嘱单</td>
															<td>操作</td>
														</tr>
													</thead>
													<tbody id="chufangzhenduan_table"></tbody>
												</table>
											</div>
										</div>
									</div>
									<div class="tab-pane" id="chufang_xingzhi">
										<div class="main-content-table">
											<div class="main-table-container">
												<table class=" table-responsive table table-hover table-striped table-border" id="chufangshuxing_table">
													<thead>
														<tr>
															<td>处方性质</td>
															<td>处方分类</td>
															<td>医疗类别</td>
														</tr>
													</thead>
													<tbody></tbody>
												</table>
											</div>
										</div>
									</div>
									<div class="tab-pane" id="zhenjin_bianji">
										<div class="main-content-table" style="bottom:40px;">
											<div class="main-table-container" id="zhenjin_edit_container">
												<table class=" table-responsive table table-hover table-striped table-border" id="zhenjin_edit_table">
												</table>
											</div>
										</div>
										<div class="main-content-page">
											<div class="page-content" style="padding: 5px;">
												<button type="button" class="btn btn-main" onclick="saveEditZhenjin()" id="saveEditZhenjin">
													<span>保存</span>
												</button>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
						<div class="tab-pane" id="Emr1">
							<div class="main-header-search">
								<form class="form-inline">
									<button type="button" class="btn btn-main"  onclick="addEmr();" name="xinzeng">
										<span class="glyphicon glyphicon-plus"></span>
										<span>新增</span>
									</button>
									<button type="button" class="btn btn-main"  id="edit_emr_btn" onclick="editApplyFile();" name="xiugai">
										<span class="glyphicon glyphicon-pencil"></span>
										<span>修改</span>
									</button>
									<button type="button" class="btn btn-main" onclick="deleteApplyFile();" name="shanchu_emr">
										<span class="glyphicon glyphicon-trash"></span>
										<span>删除</span>
									</button>
									<button type="button" class="btn btn-main" onclick="completeApplyFile();" name="wancheng_emr">
										<span class="glyphicon glyphicon-off"></span>
										<span>完成病历</span>
									</button>
									<button type="button" class="btn btn-main" id="menu-btn-withdraw" name="chehui_emr">
										<span class="glyphicon glyphicon-import"></span>
										<span>撤回</span>
									</button>
								</form>
							</div>
							<div class="tablelist">
								<div class="tableBl">
									<table class="table table-bordered table-responsive" id="emr_app_file_list"></table>
									<!--表格结束-->
								</div>
							</div>
							<!--表格下方空白区-->
							<div id="blank-content" style="height: 80%;">
								<iframe src="" frameborder='0' allowtransparency='true' height='100%' width='100%'></iframe>
								<div id="file_info_case_history" style="text-align: center; margin: 250px"></div>
								<!-- 病历文件 -->
							</div>
						</div>
						<div class="tab-pane " id="Jianyan1">
							<!-- Nav tabs -->
							<ul class="nav nav-tabs" role="tablist">
								<li role="presentation" class="active">
									<a href="#jybg_jdms" aria-controls="home" role="tab" data-toggle="tab">经典模式</a>
								</li>
								<li role="presentation">
									<a href="#jybg_jyms" aria-controls="profile" role="tab" data-toggle="tab">简约模式</a>
								</li>
							</ul>
							<!-- Tab panes -->
							<div class="tab-content tab_container">
								<!-- 经典模式 -->
								<div role="tabpanel" class="tab-pane active" id="jybg_jdms" style="width: 100%; height: 100%; position: relative;">
									<div class="main-header-search">
										<div class="form-inline">
											<div class="form-group">
												<label class="label-normal">分组规则一：</label>
												<select class="form-control jingdian_fenzu" id="jd_fenzu1"></select>
											</div>
											<div class="form-group">
												<label class="label-normal">分组规则二：</label>
												<select class="form-control jingdian_fenzu" id="jd_fenzu2"></select>
											</div>
											<div class="form-group">
												<label class="label-normal">分组规则三：</label>
												<select class="form-control jingdian_fenzu" id="jd_fenzu3"></select>
											</div>
											<!-- <div class="form-group">
												<label class="label-normal">分组规则三：</label>
												<select class="form-control" id="jiangyan_baogaodan"></select>
											</div> -->
											<!-- <label class="radio-inline">
												<input type="radio" name="inlineRadioOptions" id="" value="">
												图形
											</label>
											<label class="radio-inline">
												<input type="radio" name="inlineRadioOptions" id="" value="" checked>
												常规
											</label> -->
											<button class="btn btn-main" id="jy_jingdian_search" onclick="jingDianJqGride()">
												<span class="glyphicon glyphicon-search"></span>
												查询
											</button>
										<!-- 	<div class="btn-group" style="float: right;">
												<button class="btn btn-main">
													<span class="glyphicon glyphicon-print"></span>
													打印
												</button>
												<button class="btn btn-main dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
													<span class="caret"></span>
												</button>
												<ul class="dropdown-menu dropdown-menu-right">
												</ul>
											</div> -->
										</div>
									</div>
									<div class="inspect_container">
										<div class="full_container">
											<div class="row" style="height: 100%">
												<div class="col-md-5" style="height: 100%">
													<div class="full_container">
														<div class="main-content-table" style="top: 0;bottom:7px;">
															<div class="main-table-container" id="patient_grid_content">
																<table id="jingdian_left_table" class="table-responsive table table-hover table-striped table-border">
																</table>
															</div>
														</div>
													</div>
												</div>
												<div class="col-md-7" style="height: 100%;padding-left: 0px;">
													<div class="full_container">
														<ul class="nav nav-tabs" role="tablist">
															<li role="presentation" class="active">
																<a href="#changgui" aria-controls="home" role="tab" data-toggle="tab">常规</a>
															</li>
															<li role="presentation">
																<a href="#tuxing" aria-controls="profile" role="tab" data-toggle="tab">图形</a>
															</li>
														</ul>
														<div class="tab-content tab_container">
															<div role="tabpanel" class="tab-pane active" id="changgui" style="width: 100%; height: 100%">
																<div class="main-content-table" style="top: 0;bottom:7px;">
																	<div class="main-table-container" id="">
																		<table id="jd_changgui" class="table-responsive table table-hover table-striped table-border">
																		</table>
																	</div>
																</div>
															</div>
															<div role="tabpanel" class="tab-pane" id="tuxing" style="width: 100%; height: 100%; position: relative;">
																<div class="main-content-table" style="top: 0;bottom:7px;">
																	<div class="main-table-container" id="jy_jd_tuxCg_content">
																		<table id="jd_tuxing" class="table-responsive table table-hover table-striped table-border">
																		</table>
																	</div>
																</div>
															</div>
														</div>
													</div>
												</div>
											</div>
										</div>
									</div>
								</div>
								<!-- 	简约模式 -->
								<div role="tabpanel" class="tab-pane" id="jybg_jyms" style="width: 100%; height: 100%; position: relative;">
									<div class="main-header-search">
										<div class="form-inline">
											<div class="form-group">
												<label class="label-normal">分组规则一：</label>
												<select class="form-control jianyan_fenzu" id="jianyan_fenzu1"></select>
											</div>
											<div class="form-group">
												<label class="label-normal">分组规则一：</label>
												<select class="form-control jianyan_fenzu" id="jianyan_fenzu2"></select>
											</div>
											<div class="form-group">
												<label class="label-normal">分组规则一：</label>
												<select class="form-control jianyan_fenzu" id="jianyan_fenzu3"></select>
											</div>
											<button class="btn btn-main" id="jy_recombination" onclick="jianyueJqGride()">
												<span class="glyphicon glyphicon-search"></span>
												查询
											</button>
											<!-- <div class="btn-group" style="float: right;">
												<button class="btn btn-main">
													<span class="glyphicon glyphicon-print"></span>
													打印
												</button>
												<button class="btn btn-main dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
													<span class="caret"></span>
												</button>
												<ul class="dropdown-menu dropdown-menu-right">
												</ul>
											</div> -->
										</div>
									</div>
									<div class="main-content-table" style="bottom:7px;">
										<div class="main-table-container" id="simple_format_table">
											<table id="simple-format-table" class="table-responsive table table-hover table-striped table-border">
											</table>
										</div>
									</div>
									
								</div>
							</div>
						</div>
						<div class="tab-pane" id="Jiancha1">
							<div class="main-header-search">
								<div class="form-inline">
									<div class="form-group">
										<label class="label-normal">分组规则一：</label>
										<select class="form-control jiancha_fenzu" id="jiancha_fenzu1"></select>
									</div>
									<div class="form-group">
										<label class="label-normal">分组规则一：</label>
										<select class="form-control jiancha_fenzu" id="jiancha_fenzu2"></select>
									</div>
									<div class="form-group">
										<label class="label-normal">分组规则一：</label>
										<select class="form-control jiancha_fenzu" id="jiancha_fenzu3"></select>
									</div>
									<button class="btn btn-main" id="" onclick="jianChaJqGride()">
										<span class="glyphicon glyphicon-search"></span>
										查询
									</button>
									<button class="btn btn-main"  id="view-slice" name="gp" onclick="guanpian()">
										<span class="glyphicon glyphicon-eye-open"></span>
										观片
									</button>
									<!-- <div class="btn-group" style="float: right;">
										<button class="btn btn-main">
											<span class="glyphicon glyphicon-print"></span>
											打印
										</button>
										<button class="btn btn-main dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
											<span class="caret"></span>
										</button>
										<ul class="dropdown-menu dropdown-menu-right">
										</ul>
									</div> -->
								</div>
							</div>
							<div class="inspect_container">
								<div class="full_container">
									<div class="row" style="height: 100%">
										<div class="col-md-5" style="height: 100%">
											<div class="full_container">
												<div class="main-content-table" style="top: 0;bottom:7px;">
													<div class="main-table-container" id="check-report_content">
														<table id="check-report-table" class="table-responsive table table-hover table-striped table-border">
														</table>
													</div>
												</div>
											</div>
										</div>
										<div class="col-md-7" style="height: 100%;padding-left: 0px;">
											<div class="full_container">
												<div class="main-content-table" style="top: 0;bottom:7px;">
													<div class="main-table-container" id = "papImg_pacs" style="overflow:hidden;">
														<iframe id="papImg" frameborder='0' allowtransparency='true' height='100%' width='100%'>
														</iframe>
													</div>
													<div class="main-table-container" id ="img_picture" style="overflow-x:hidden;overflow-y:auto;">
														<!-- <img id="img_picture" class="hidden" src="" style="height:100%; width:100%" /> -->
													</div>
												</div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
						<div class="tab-pane" id="weijizhi1">
							<div class="main-header-search">
								<div class="form-inline">
									<button class="btn btn-main" id="" onclick="refreashCritical()">
										<span class="glyphicon glyphicon-refresh"></span>
										刷新
									</button>
									<!-- <button class="btn btn-main" id="" onclick="()">
										<span class="glyphicon glyphicon-chevron-down"></span>
										展开
									</button>
									<button class="btn btn-main" id="" onclick="()">
										<span class="glyphicon glyphicon-chevron-up"></span>
										收缩
									</button> -->
								</div>
							</div>
							<div class="main-content-table">
								<div class="main-table-container" id="critical_value_container">
									<table class="table-responsive table table-hover table-border" id="critical_value_table">
									</table>
								</div>
							</div>
						</div>
						<div class="tab-pane" id="liciyizhu1">
							<div class="yizhu_content_table" style="width: 100%; position: relative;">
								<div class="main-header-search">
								<div class="form-inline">
									<div class="form-group">
										<select class="form-control" onchange="changeBeforeAdvice()" id="advice_disort">
												<option value="">全部医嘱</option>
												<option value="1,2">西、成药</option>
												<option value="8">中草药</option>
												<option value="L">检验</option>
												<option value="E">检查</option>
												<option value="S">手术</option>
												<option value="4,M">其它</option>
											</select>
									</div>
									<button class="btn btn-main" id="" onclick="refreashBeforeAdvice()">
										<span class="glyphicon glyphicon-refresh"></span>
										刷新
									</button>
								</div>
							</div>
								<div class="main-content-table no-footer">
									<div class="main-table-container " id="before_advice_container">
										<table class="table-responsive table table-hover table-border" id="before_advice_table">
										</table>
									</div>
								</div>
							</div>
							<div class="yizhucontainer patient_operation" id="before_advice_operation">
								<div class="main-header-nav">
									<ul class="nav nav-underline" role="tablist">
										<li class="active">
											<a href="#jizhu_fasong_b" data-toggle="tab">医嘱发送记录</a>
										</li>
										
										<li>
											<a href="#chufang_zhenduan_b" data-toggle="tab">处方诊断</a>
										</li>
										<li>
											<a href="#chufang_xingzhi_b" data-toggle="tab">处方性质</a>
										</li>
										<li class="moreCont">
											<div class="btn-group" onclick="yizhuOtherInfo(this);">
												<a class="btn btn-transparent ">
													<span class="more-info-text">展开</span>
													<span class="caret caret-top"></span>
												</a>
											</div>
										</li>
									</ul>
								</div>
								<div class="tab-content yizhujilu_content">
									
									<!-- 医嘱发送记录 -->
									<div class="tab-pane active" id="jizhu_fasong_b">
										<div class="main-content-table no-footer">
											<div class="main-table-container">
												<table class="table-responsive table table-hover table-striped table-border">
													<thead>
														<tr>
															<td>结账状态</td>
															<td>发送时间</td>
															<td>收费项目</td>
															<!-- <td>发送次数</td> -->
															<td>执行科室</td>
															<td>发送人</td>
															<td>执行状态</td>
															<td>单据号</td>
															<td>条形码</td>
														</tr>
													</thead>
													<tbody ></tbody>
												</table>
											</div>
										</div>
									</div>
									
									<div class="tab-pane" id="chufang_zhenduan_b">
										<div class="main-content-table">
											<div class="main-table-container">
												<table class="table-responsive table table-hover table-striped table-border">
													<thead>
														<tr>
															<td>诊断顺序</td>
															<td>诊断描述</td>
															<td>疑诊</td>
															<td>医嘱单</td>
														</tr>
													</thead>
													<tbody ></tbody>
												</table>
											</div>
										</div>
									</div>
									<div class="tab-pane" id="chufang_xingzhi_b">
										<div class="main-content-table">
											<div class="main-table-container">
												<table class=" table-responsive table table-hover table-striped table-border">
													<thead>
														<tr>
															<td>处方性质</td>
															<td>处方分类</td>
															<td>医疗类别</td>
														</tr>
													</thead>
													<tbody></tbody>
												</table>
											</div>
										</div>
									</div>
									
								</div>
							</div>
							<!-- <div class="main-header-search">
								<div class="form-inline">
									<div class="form-group">
										<select class="form-control" onchange="changeBeforeAdvice()" id="advice_disort">
												<option value="">全部医嘱</option>
												<option value="1,2">西、成药</option>
												<option value="8">中草药</option>
												<option value="L">检验</option>
												<option value="E">检查</option>
												<option value="S">手术</option>
												<option value="4,M">其它</option>
											</select>
									</div>
									<button class="btn btn-main" id="" onclick="refreashBeforeAdvice()">
										<span class="glyphicon glyphicon-refresh"></span>
										刷新
									</button>
								</div>
							</div> -->
							<!-- <div class="main-content-table">
								<div class="main-table-container" id="before_advice_container">
									<table class="table-responsive table table-hover table-border" id="before_advice_table">
									</table>
								</div>
							</div> -->
						</div>
					</div>
				</div>
			</div>
		</div>
		<!--尾部内容-->
	</div>
	<!--遮盖层-->
	<div id="cover" class="hidden"></div>
	<!-- 打印 -->
	<div id="appletDiv"></div>
	<!-- activeMQ 接受消息的div -->
	<div id="msgDiv"></div>
	<!-- mq -->
	<%--会员刷卡--%>
	<!-- <div id="swing_card">
		<div class="modal-body">
			<div class="please-swing-card" id="plase_shuaKa">
				<span>请刷卡</span>
				<input type="text" id="please_swing_card" style="width: 320px !important;">
			</div>
			<div class="swing-card-info hidden">
				<ul class="list-unstyled">
					<li>
						<label class="label-normal">姓名：</label>
						<span id="name"></span>
					</li>
					<li>
						<label class="label-normal">卡号：</label>
						<span id="cardNum"></span>
					</li>
					<li>
						<label class="label-normal">发卡日期：</label>
						<span id="cardIssTime"></span>
					</li>
					<li>
						<label class="label-normal">有效日期：</label>
						<span id="validTime"></span>
					</li>
					<li>
						<label class="label-normal">会员账号：</label>
						<span id="accountNum"></span>
					</li>
					<li>
						<label class="label-normal">余额：</label>
						<span id="balance">0</span>
					</li>
				</ul>
			</div>
			<div class="swing-card-btn hidden">
				<button type="button" class="btn btn-green" onclick="rechargeCardOut()" id="shuaka_chongzhi">充值</button>
				<button type="button" class="btn btn-green" onclick="returnCostOut()" id="shuaka_tuifei">退费</button>
				<button type="button" class="btn btn-green" onclick="card_RefundedOut()" id="shuaka_tuika">退卡</button>
				<button type="button" class="btn btn-green" onclick="revisePasswordOut()" id="shuaka_xiumima">修改密码</button>
			</div>
			<div id="error_promptmess"></div>
		</div>
		<div class="modal-foot">
			<button type="button" class="btn btn-green" id="shuaka_pronum">输入卡号</button>
			<button type="button" class="btn btn-green" id="shuaka_queding" onclick="cardSearch()">确定</button>
			<button type="button" class="btn btn-white">取消</button>
		</div>
	</div> -->
	<%--会员刷卡结束--%>
	<%--会员发卡开始--%>
	<div id="new_swing_card">
		<div class="modal-body">
			<div class="please-swing-card" id="plase_faKa">
				<span>请刷卡</span>
				<input type="text" id="creditcard" name="creditcard" style="width: 320px !important;">
			</div>
			<div id="error_mess"></div>
		</div>
		<div class="modal-foot">
			<button type="button" class="btn btn-green" onclick="promptFaCard()" id="faka_propnum">输入卡号</button>
			<button type="button" class="btn btn-green">确定</button>
			<button type="button" class="btn btn-white">取消</button>
		</div>
	</div>
	<%--会员发卡结束--%>
	<div id="msgDiv" hidden="true"></div>
	<div id="dropbox" ></div>
	
</body>
<!-- 检查检验报告 -->
<script src="${ctx}/one/component/dropbox/drop-box.js?t=201711029"></script>
<!--下拉框组件  -->
<script src="${ctx}/one/component/dropbox/jquery-drop-box.js?t=201711029"></script>
<script src="${ctx}/one/component/dropbox/jquery-diagnose-smart.js?t=20180227"></script>
<script src="${ctx}/one/js/diagnose_all.js?t=20180227"></script>
<script src="${ctx}/one/js/inspect_record.js?t=20180408"></script>
<script src="${ctx}/one/js/eyeCheckInfo.js?t=20180320"></script>
<script src="${ctx}/one/js/critical_value.js?t=20180320"></script>
<script src="${ctx}/one/js/outpatient.js"></script>
<script src="${ctx}/one/js/wanZhenPatient.js?t=20180417"></script>
<script src="${ctx}/one/js/inhospital.js"></script>
<script src="${ctx}/one/js/app-index.js?t=20180417"></script>
<script src="${ctx}/one/js/app-index-add.js?t=20180417"></script>
<script src="${ctx}/one/js/adviceOption.js?t=20180417"></script>
<script src="${ctx}/one/js/printIndex.js"></script>
<script src="${ctx}/one/js/emr.js?t=20171227"></script>
<script src="${ctx}/one/js/guahao.js?t=20180122"></script>
<script src="${ctx}/one/js/ageChange.js?t=20180109"></script>
<script src="${ctx}/one/js/zhenduan.js?t=20180306"></script>
<script src="${ctx}/one/js/printOrder.js"></script>
<script src="${ctx}/one/js/beforeAdvice.js?t=20171217"></script>
<script src="${ctx}/one/js/InfectiousDisease.js?t=20180306"></script>
<!-- remind -->
<script src="${ctx}/one/js/remindAndAudit.js"></script>
<script src="${ctx}/js.base/form_control.js"></script>
<script src="${ctx}/js.base/keydown_control.js?t=201711029"></script>
<script src="${ctx}/lib/ztree/jquery.ztree.core.js"></script>
<script src="${ctx}/lib/ztree/jquery.ztree.exedit.js"></script>
<!-- mq -->
<script src="${ctx}/lib/avtiveMq/activemq_onehis.js?t=20180320"></script>
<script src="${ctx}/lib/avtiveMq/ajax_Encapsulation.js?t=20180320"></script>
<script src="${ctx}/lib/avtiveMq/amq_jquery_adapter.js?t=20180320"></script>
<script src="${ctx}/lib/avtiveMq/amq.js?t=20180320"></script>
<script src="${ctx}/lib/avtiveMq/message_tip.js?t=20180320"></script>
<script src="${ctx}/lib/avtiveMq/all_swipe_card.js?t=20171228"></script>
<script src="${ctx}/lib/avtiveMq/menzhen_after_swipe_card.js?t=20180109"></script>

<script src="${ctx}/lib/avtiveMq/jquery.json-2.2.js"></script>

<script src="${ctx}/lib/avtiveMq/print.js"></script>
<script src="${ctx}/one/js/activeMQ.js"></script>
</html>
